package com.bestcem.xm.user.util.convert;

import com.bestcem.xm.user.entity.mysql.UserAuthLog;
import com.bestcem.xm.user.entity.pojo.UserAuthLogDO;
import com.bestcem.xm.user.service.dto.user.UserAuthLogDTO;
import org.mapstruct.Mapper;

/**
 * 用户登录日志转换类
 *
 * @author wangyunyun <yunyun.wang@idiaoyan.com>
 * @version v1.0
 * @date 2022/03/02 16:00
 */
@Mapper(componentModel = "spring")
public interface UserAuthLogConvert {

    UserAuthLog doToMysql(UserAuthLogDO userAuthLogDO);

    UserAuthLogDO dtoToDo(UserAuthLogDTO userAuthLogDTO);
}
